package com.asset.dao;


import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.asset.pojo.City;

import java.util.List;

@Component
public interface CityMapper {
    public void addCity(City city);
    public City getCity(@Param("id") Integer id);
    public City getCityByName(@Param("name") String name);
    public List<City> listCity(String name);
}
